package com.zsc.wxm.ysh.anjo.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zsc.wxm.ysh.anjo.member.model.LoginLog;
import com.zsc.wxm.ysh.anjo.member.model.Member;
import com.zsc.wxm.ysh.anjo.result.PageResult;
import com.zsc.wxm.ysh.anjo.service.base.model.member.qo.LoginLogQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author playmaker
 * @since 2021-01-04
 */
public interface LoginLogService extends IService<LoginLog> {

    /**
     * 登录日志
     * @param request
     * @param member
     */
    void saveLoginLog(HttpServletRequest request, Member member);

    /**
     * 分页查询
     * @param query
     * @return
     */
    PageResult listPage(LoginLogQuery query);

}
